package com.miaosha.ms_05;

/**
 * @Description //TODO
 * @Author Administrator
 * @DATE 2020/9/19 15:50
 **/
public class SystemConstant {
    public enum OrderStatusEnum {
        NEW(0, "新建未支付"),
        PAYED(1, "已支付"),
        SEND(2, "已发货"),
        ACC(3, "已收货"),
        RETURN(4, "已退货"),
        FINISH(5, "已完成"),
        ;

        OrderStatusEnum(Integer code, String status) {
            this.code = code;
            this.status = status;
        }

        private Integer code;

        private String status;

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }

    public enum OrderChannel {
        PC(1, "PC"),
        ANDROID(2, "Android"),
        IOS(3, "IOS");
        private Integer code;

        private String msg;

        OrderChannel(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

}
